import Vue from 'vue'
import VueRouter from 'vue-router'

import Screen from '@/views/screen'
import Map from '@/components/Map.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/screen'
  },
  {
    path: '/screen',
    component: Screen
  },
  {
    path: '/map',
    component: Map
  }
]

const router = new VueRouter({
  routes
})

export default router
